# 定义类
class Cat:
    def __init__(self, name):
        self.name = name

    def __str__(self):
        return self.name

# 创建对象
cat1 = Cat('发财')
print(cat1)

cat2 = Cat('热干面')
print(cat2)





